Optimal. Leaf size=164 \[ \frac {3 i \text {Li}_2\left (-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {3 i \text {Li}_2\left (i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {3 \text {sech}^{-1}(a x) \tan ^{-1}\left (e^{\text {sech}^{-1}(a x)}\right )}{10 a^5}-\frac {3 x}{20 a^4}-\frac {3 x \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3}{30 a^2}-\frac {x^3 \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)}{10 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^2 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 164, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 6, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {6285, 5418, 4185, 4180, 2279, 2391} \[ \frac {3 i \text {PolyLog}\left (2,-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {3 i \text {PolyLog}\left (2,i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {x^3}{30 a^2}-\frac {x^3 \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)}{10 a^2}-\frac {3 x}{20 a^4}-\frac {3 x \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)}{20 a^4}-\frac {3 \text {sech}^{-1}(a x) \tan ^{-1}\left (e^{\text {sech}^{-1}(a x)}\right )}{10 a^5}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^2 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2279
Rule 2391
Rule 4180
Rule 4185
Rule 5418
Rule 6285
Rubi steps
\begin {align*} \int x^4 \text {sech}^{-1}(a x)^2 \, dx &=-\frac {\operatorname {Subst}\left (\int x^2 \text {sech}^5(x) \tanh (x) \, dx,x,\text {sech}^{-1}(a x)\right )}{a^5}\\ &=\frac {1}{5} x^5 \text {sech}^{-1}(a x)^2-\frac {2 \operatorname {Subst}\left (\int x \text {sech}^5(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{5 a^5}\\ &=-\frac {x^3}{30 a^2}-\frac {x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{10 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^2-\frac {3 \operatorname {Subst}\left (\int x \text {sech}^3(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{10 a^5}\\ &=-\frac {3 x}{20 a^4}-\frac {x^3}{30 a^2}-\frac {3 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{10 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^2-\frac {3 \operatorname {Subst}\left (\int x \text {sech}(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}\\ &=-\frac {3 x}{20 a^4}-\frac {x^3}{30 a^2}-\frac {3 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{10 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^2-\frac {3 \text {sech}^{-1}(a x) \tan ^{-1}\left (e^{\text {sech}^{-1}(a x)}\right )}{10 a^5}+\frac {(3 i) \operatorname {Subst}\left (\int \log \left (1-i e^x\right ) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}-\frac {(3 i) \operatorname {Subst}\left (\int \log \left (1+i e^x\right ) \, dx,x,\text {sech}^{-1}(a x)\right )}{20 a^5}\\ &=-\frac {3 x}{20 a^4}-\frac {x^3}{30 a^2}-\frac {3 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{10 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^2-\frac {3 \text {sech}^{-1}(a x) \tan ^{-1}\left (e^{\text {sech}^{-1}(a x)}\right )}{10 a^5}+\frac {(3 i) \operatorname {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {(3 i) \operatorname {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}\\ &=-\frac {3 x}{20 a^4}-\frac {x^3}{30 a^2}-\frac {3 x \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{20 a^4}-\frac {x^3 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{10 a^2}+\frac {1}{5} x^5 \text {sech}^{-1}(a x)^2-\frac {3 \text {sech}^{-1}(a x) \tan ^{-1}\left (e^{\text {sech}^{-1}(a x)}\right )}{10 a^5}+\frac {3 i \text {Li}_2\left (-i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}-\frac {3 i \text {Li}_2\left (i e^{\text {sech}^{-1}(a x)}\right )}{20 a^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.46, size = 182, normalized size = 1.11 \[ \frac {12 a^5 x^5 \text {sech}^{-1}(a x)^2-2 a^3 x^3-6 a^3 x^3 \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)+9 i \text {Li}_2\left (-i e^{-\text {sech}^{-1}(a x)}\right )-9 i \text {Li}_2\left (i e^{-\text {sech}^{-1}(a x)}\right )-9 a x-9 a x \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)+9 i \text {sech}^{-1}(a x) \log \left (1-i e^{-\text {sech}^{-1}(a x)}\right )-9 i \text {sech}^{-1}(a x) \log \left (1+i e^{-\text {sech}^{-1}(a x)}\right )}{60 a^5} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.58, size = 0, normalized size = 0.00 \[ {\rm integral}\left (x^{4} \operatorname {arsech}\left (a x\right )^{2}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{4} \operatorname {arsech}\left (a x\right )^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.95, size = 289, normalized size = 1.76 \[ \frac {x^{5} \mathrm {arcsech}\left (a x \right )^{2}}{5}-\frac {\mathrm {arcsech}\left (a x \right ) \sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}\, x^{4}}{10 a}-\frac {3 \,\mathrm {arcsech}\left (a x \right ) \sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}\, x^{2}}{20 a^{3}}-\frac {x^{3}}{30 a^{2}}-\frac {3 x}{20 a^{4}}+\frac {3 i \mathrm {arcsech}\left (a x \right ) \ln \left (1+i \left (\frac {1}{a x}+\sqrt {\frac {1}{a x}-1}\, \sqrt {1+\frac {1}{a x}}\right )\right )}{20 a^{5}}-\frac {3 i \mathrm {arcsech}\left (a x \right ) \ln \left (1-i \left (\frac {1}{a x}+\sqrt {\frac {1}{a x}-1}\, \sqrt {1+\frac {1}{a x}}\right )\right )}{20 a^{5}}+\frac {3 i \dilog \left (1+i \left (\frac {1}{a x}+\sqrt {\frac {1}{a x}-1}\, \sqrt {1+\frac {1}{a x}}\right )\right )}{20 a^{5}}-\frac {3 i \dilog \left (1-i \left (\frac {1}{a x}+\sqrt {\frac {1}{a x}-1}\, \sqrt {1+\frac {1}{a x}}\right )\right )}{20 a^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^4\,{\mathrm {acosh}\left (\frac {1}{a\,x}\right )}^2 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{4} \operatorname {asech}^{2}{\left (a x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________